package com.yuan.zs.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.Date;

/**
 * 精彩瞬间
 */
@Table(name = "t_wonderful")
public class Wonderful {
	@Column(name = "_index", isId = true)
	private int _index;// 只做数据库索引
	@Column(name = "id")
	private int id;// 业务id
	@Column(name = "childIdCardNo")
	private String childIdCardNo;
	@Column(name = "schoolId")
	private int schoolId;
	@Column(name = "time")
	private Date time;
	@Column(name = "fpath")
	private String fpath;
	@Column(name = "thumbnail")
	private String thumbnail;// 视频推送的缩略图
	@Column(name = "state")
	private String state;
	@Column(name = "type")
	private int type;// 1:视频 2::图片
	@Column(name = "positives")
	private int positives;// 赞数量
	@Column(name = "negatives")
	private int negatives;// 踩数量

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getChildIdCardNo() {
		return childIdCardNo;
	}

	public void setChildIdCardNo(String childIdCardNo) {
		this.childIdCardNo = childIdCardNo;
	}

	public int getSchoolId() {
		return schoolId;
	}

	public void setSchoolId(int schoolId) {
		this.schoolId = schoolId;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getFpath() {
		return fpath;
	}

	public void setFpath(String fpath) {
		this.fpath = fpath;
	}

	public String getThumbnail() {
		return thumbnail;
	}

	public void setThumbnail(String thumbnail) {
		this.thumbnail = thumbnail;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getPositives() {
		return positives;
	}

	public void setPositives(int positives) {
		this.positives = positives;
	}

	public int getNegatives() {
		return negatives;
	}

	public void setNegatives(int negatives) {
		this.negatives = negatives;
	}
}
